package com.ruoyi.srmcontract.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonView;
import com.ruoyi.common.annotation.Excel;


/**
 * 合同协议维护对象 jac_contract_ContractTemplate
 * 
 * @author yanggongxiao
 * @date 2020-07-31
 */
public class JacContracttemplate 
{
    
    public interface contractListView extends contractModelView {}
    public interface contractModelView {}

    /** $column.columnComment */
    @JsonView(value = contractListView.class)
    private Long contracttemplateId;

    /** 公司代码 */
    @JsonView(value = contractListView.class)
    private String companycode;

    /** 部门代码 */
    @JsonView(value = contractListView.class)
    private String departmentcode;
    
    /** 公司名称 */
    @JsonView(value = contractListView.class)
    private String companyname;

    /** 部门名称 */
    @JsonView(value = contractListView.class)
    private String departmentname;
    
    /** 基地id */
    private String factoryid;

    /** 合同模板代码 */
    @Excel(name = "合同模板代码")
    @JsonView(value = contractModelView.class)
    private String contracttmpcode;

    /** 合同模板名称 */
    @Excel(name = "合同模板名称")
    @JsonView(value = contractModelView.class)
    private String contractname;

    /** 合同类型：年度合同，价格协议  从模板管理中取值 */
    @Excel(name = "合同类型：年度合同，价格协议  从模板管理中取值")
    @JsonView(value = contractListView.class)
    private String type;

    /** 模板状态(新增：New 发布：Publish 作废：Cancel) */
    @Excel(name = "模板状态(新增：New 发布：Publish 作废：Cancel)")
    @JsonView(value = contractListView.class)
    private String status;
    
    /** 模板状态(新增：New 发布：Publish 作废：Cancel) */
    private List<String> statuslist;

    /** 合同模板说明 */
    @Excel(name = "合同模板说明")
    @JsonView(value = contractListView.class)
    private String contractdesc;

    /** 备注 */
    @JsonView(value = contractListView.class)
    private String memo;

    /** 合同协议明细 */
    @JsonView(value = contractListView.class)
    private String detail;

    /** 预留2 */
    private String addition2;

    /** 创建日期 */
    private String createdate;

    /** 创建用户代码 */
    private String createuser;

    /** 创建用户名 */
    private String createusername;
    
    /** 创建时间 */
    private String createtime;


    /** 更新日期 */
    @Excel(name = "更新日期")
    @JsonView(value = contractListView.class)
    private String logdate;

    /** 更新时间 */
    private String logtime;

    /** 更新用户代码 */
    private String loguser;

    /** 更新用户名 */
    @JsonView(value = contractListView.class)
    @Excel(name = "更新用户名")
    private String logusername;

    public void setContracttemplateId(Long contracttemplateId) 
    {
        this.contracttemplateId = contracttemplateId;
    }

    public Long getContracttemplateId() 
    {
        return contracttemplateId;
    }
    public void setCompanycode(String companycode) 
    {
        this.companycode = companycode;
    }

    public String getCompanycode() 
    {
        return companycode;
    }
    public void setDepartmentcode(String departmentcode) 
    {
        this.departmentcode = departmentcode;
    }

    public String getDepartmentcode() 
    {
        return departmentcode;
    }
    public void setContracttmpcode(String contracttmpcode) 
    {
        this.contracttmpcode = contracttmpcode;
    }

    public String getContracttmpcode() 
    {
        return contracttmpcode;
    }
    public void setContractname(String contractname) 
    {
        this.contractname = contractname;
    }

    public String getContractname() 
    {
        return contractname;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    
    public List<String> getStatuslist() {
		return statuslist;
	}

	public void setStatuslist(List<String> statuslist) {
		this.statuslist = statuslist;
	}

	public void setContractdesc(String contractdesc) 
    {
        this.contractdesc = contractdesc;
    }

    public String getContractdesc() 
    {
        return contractdesc;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setAddition2(String addition2) 
    {
        this.addition2 = addition2;
    }

    public String getAddition2() 
    {
        return addition2;
    }
    public void setCreatedate(String createdate) 
    {
        this.createdate = createdate;
    }

    public String getCreatedate() 
    {
        return createdate;
    }
    public void setCreateuser(String createuser) 
    {
        this.createuser = createuser;
    }

    public String getCreateuser() 
    {
        return createuser;
    }
    public void setCreateusername(String createusername) 
    {
        this.createusername = createusername;
    }

    public String getCreateusername() 
    {
        return createusername;
    }
    public void setLogdate(String logdate) 
    {
        this.logdate = logdate;
    }

    public String getLogdate() 
    {
        return logdate;
    }
    public void setLogtime(String logtime) 
    {
        this.logtime = logtime;
    }

    public String getLogtime() 
    {
        return logtime;
    }
    public void setLoguser(String loguser) 
    {
        this.loguser = loguser;
    }

    public String getLoguser() 
    {
        return loguser;
    }
    public void setLogusername(String logusername) 
    {
        this.logusername = logusername;
    }

    public String getLogusername() 
    {
        return logusername;
    }
    
    

    public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getFactoryid() {
		return factoryid;
	}

	public void setFactoryid(String factoryid) {
		this.factoryid = factoryid;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contracttemplateId", getContracttemplateId())
            .append("companycode", getCompanycode())
            .append("departmentcode", getDepartmentcode())
            .append("contracttmpcode", getContracttmpcode())
            .append("contractname", getContractname())
            .append("type", getType())
            .append("status", getStatus())
            .append("contractdesc", getContractdesc())
            .append("memo", getMemo())
            .append("detail", getDetail())
            .append("addition2", getAddition2())
            .append("createdate", getCreatedate())
            .append("createtime", getCreatetime())
            .append("createuser", getCreateuser())
            .append("createusername", getCreateusername())
            .append("logdate", getLogdate())
            .append("logtime", getLogtime())
            .append("loguser", getLoguser())
            .append("logusername", getLogusername())
            .append("factoryid", getFactoryid())
            .toString();
    }
}
